package first.users;

import first.liter.*;
import java.util.List;
import java.util.ArrayList;

public class Reader extends BiblioUser
{
	/**
	 * List of readed literature
	 */
	private List<Literature> listLiteratureReaded;
	
	/**
	 * List of ordered literature to read
	 */
	private List<Literature> listLiteratureOrdered;
	
	/**
	 * List of Book
	 */
	private List<Literature> listLiteratureNowRead;
	
//===============================================================================
//============================CONSTRUCTORS=======================================
	
	public Reader(String userLogin,String name, String password,int userId) 
	{
		super(userLogin,name, password,userId);
		this.setListLiteratureOrdered(new ArrayList<Literature>());
		this.setListLiteratureNowRead(new ArrayList<Literature>());
		this.listLiteratureReaded=new ArrayList<Literature>();
	}
//===============================================================================
//===============================================================================

	/**
	 * @param listLiteratureOrdered the listLiteratureOrdered to set
	 */
	public void setListLiteratureOrdered(List<Literature> listLiteratureOrdered) {
		this.listLiteratureOrdered = listLiteratureOrdered;
	}

	/**
	 * @return the listLiteratureOrdered
	 */
	public List<Literature> getListLiteratureOrdered() {
		return listLiteratureOrdered;
	}

	/**
	 * @return the listLiteratureReaded
	 */
	public List<Literature> getListLiteratureReaded() {
		return listLiteratureReaded;
	}

	/**
	 * @param listLiteratureNowRead the listLiteratureNowRead to set
	 */
	public void setListLiteratureNowRead(List<Literature> listLiteratureNowRead) {
		this.listLiteratureNowRead = listLiteratureNowRead;
	}

	/**
	 * @return the listLiteratureNowRead
	 */
	public List<Literature> getListLiteratureNowRead() {
		return listLiteratureNowRead;
	}
	
	
}